<extend name="template/base_top" />
<block name="area_header">

</block>
<block name="area_body">


    <div class="cart-panel">
        <h3>提现</h3>
        <div class="withdrawals-panel">
            <p><span class="am-fr red2 bold">￥{$money}</span>账户余额（能提现金额）</p>
            <hr  class="am-divider am-divider-default" />
            <p class="am-text-center"><a href="{:U('Account/apply_money')}" class="am-btn am-btn-danger am-round">申请提现</a></p>
        </div>
        <h3>提现记录</h3>
        <div class="withdrawals-panel">
            <table class="am-table am-table-striped am-table-hover comm-table">
                <thead>
                <tr>
                    <th>提现账户</th>
                    <th>日期</th>
                    <th>金额</th>
                    <th>状态</th>
                </tr>
                </thead>
                <tbody>
                    <volist name="list" id="vo">
                        <tr>
                           <td>{$vo['cash_account']}</td>
                            <td>{$vo['create_time']|date='Y-m-d H:i:s',###}</td>
                            <td>￥{$vo['money']}</td>
                            <td>
                                <if condition="$vo['status'] eq 0">待审核</if>
                                <if condition="$vo['status'] eq 1">审核通过</if>
                                <if condition="$vo['status'] eq 2">审核失败</if>
                            </td>
                        </tr>
                    </volist>
                </tbody>
            </table>
        </div>
    </div>
</block>